package cn.wx.common.persistence.base;

public class Neo4jBaseQ {
	
	private Long id;
	
	private Integer pageNo = 1;
	
	private Integer pageSize = 10;

	private Integer nodeSize;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getPageNo() {
		return pageNo;
	}
	
	public Integer getPageSkip() {
		return (pageNo-1) < 0 ? 0 : (pageNo-1);
	}
	

	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getNodeSize() {
		return nodeSize;
	}

	public void setNodeSize(Integer nodeSize) {
		this.nodeSize = nodeSize;
	}

}
